home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PPPPOOOOSSSSTTTTWWWWAAAAIIIITTTT((((7777MMMM)))) PPPPOOOOSSSSTTTTWWWWAAAAIIIITTTT((((7777MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- postwait - postwait driver for Oracle
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The postwait driver implements an efficient, fast, lightweight
- sleep/wakeup/timer mechanism to be used by a coordinating group of Oracle
- processes.
-
- One process within a coordinating group that uses the postwait device
- will first have to open() the postwait device. This process must then
- issue an ioctl() command that will
-
- a) create a postwait instance
-
- b) register the caller as a user of the postwait instance
-
- c) return the postwait instance number.
-
-
- The postwait instance number must then be made available to the rest of
- the processes in the coordinating group.
-
- The remaining processes in the coordinating group must then register
- themselves with the postwait instance using the sysmips(POSTWAIT,
- PWIOCREG, ...) call.
-
- Callers can then make calls to go to sleep or to wake up sleeping
- processes via the sysmips(POSTWAIT, ...) calls.
-
- A process can explicitly deregister itself via the sysmips(POSTWAIT,
- PWIOCDEREG, ...) call. Automatic deregistration is done on process exit.
-
- A postwait instance is removed and deallocated when there are no
- processes that are registered with it.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- sysmips(2)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-